import About from '@/views/About'
import Home from '@/views/Home'
import Blog from '@/views/Blog'
import Write from '@/views/Write'
import Bsm from '@/views/Bsm'
import Welcome from '@/views/Welcome.vue'



export default [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/home',
        name: 'Home',
        component: Home
    },
    {
        path: '/about',
        name: 'About',
        component: About
    },
    {
        path: '/blogType/:id',
        name: 'BlogType',
        component: Blog
    },
    {
        path: '/blog/write',
        name: 'Write',
        component: Write
    },
    {
        path: '/blog/bsm',
        name: 'Bsm',
        component: Bsm,
        redirect: '/bsm/welcome',
        children: [{
            path: '/user/mng',
            component: () => import('@/views/Bsm/User/mng.vue')
        },
        {
            path: '/bsm/welcome',
            name: 'Welcome',
            component: Welcome
        },
        {
            path: '/blog/type',
            component: () => import('@/views/Bsm/Blog/type.vue')
        },]
    }
]